<template>
  <div>
    <a-tabs v-model:activeKey="activeKey" type="card">
      <a-tab-pane key="1" tab="计划参数">
        <planningParameter />
      </a-tab-pane>
      <a-tab-pane key="2" tab="MRP参数">
        <mrpParameteSetting />
      </a-tab-pane>
      <a-tab-pane key="3" tab="供需关系">
        <supplyAndDemand />
      </a-tab-pane>
      <a-tab-pane key="4" tab="单据状态">
        <documentStatus />
      </a-tab-pane>
      <a-tab-pane key="5" tab="采购分单条件">
        <purchaseOrderConditions />
      </a-tab-pane>
      <a-tab-pane key="6" tab="生产分单条件">
        <productionSuborderConditions />
      </a-tab-pane>
    </a-tabs>
  </div>
</template>

<script lang="ts" name="planParameter" setup>
import { ref } from 'vue';
import mrpParameteSetting from './components/mrpParameteSetting.vue';
import supplyAndDemand from './components/supplyAndDemand.vue';
import documentStatus from './components/documentStatus.vue';
import purchaseOrderConditions from './components/purchaseOrderConditions.vue';
import productionSuborderConditions from './components/productionSuborderConditions.vue';
import planningParameter from './components/planningParameter.vue';
const activeKey = ref('1');
</script>

<style lang="less">
  .ant-divider-horizontal {
    margin: 10px 0;
  }
  .pd-10 {
    padding: 0 20% 0 2%;
  }
</style>
